projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eea9f3
)
wayland/popup: Remove unnecessary checks when mapping popup
author
Jonas Ådahl
<jadahl@gmail.com>
Sat, 22 Feb 2020 19:08:37 +0000
(20:08 +0100)
committer
Jonas Ådahl
<jadahl@gmail.com>
Sat, 22 Feb 2020 19:08:37 +0000
(20:08 +0100)
We only call this when we're not already mapped so don't check that. We
also only call this when we should be mapped so don't check that either.
gdk/wayland/gdksurface-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdksurface-wayland.c
b/gdk/wayland/gdksurface-wayland.c
index 2174bdf72a481905e6e8468b6cad82b770c357f3..e4fdae31225cebfb5a0a82563ec489e70952141b 100644
(file)
--- a/
gdk/wayland/gdksurface-wayland.c
+++ b/
gdk/wayland/gdksurface-wayland.c
@@
-2697,12
+2697,6
@@
gdk_wayland_surface_map_popup (GdkSurface *surface,
GdkSurface *parent;
GdkWaylandSeat *grab_input_seat;
- if (!should_be_mapped (surface))
- return;
-
- if (impl->mapped)
- return;
-
parent = surface->parent;
if (!parent)
{